<include file="Common/header" />
<title>栏目管理</title>
<style>
.norag { border: none !important; font-weight: normal !important }
</style>
</head>
<body>
<nav class="breadcrumb">
 <i class="Hui-iconfont"></i>{:location();}
  <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a></nav>
<div class="pd-20">
  <div class="wrap J_check_wrap">
    <div class="h_a">字段配置</div>
    <div class="table_full">
      <form method="post" class="J_ajaxForm" action="">
        <table cellpadding="0" cellspacing="0" width="100%" class="table table-hover table-bg">
          <tbody>
           
             <!--字符-->
                <tr>
                  <th width="140">配置标题</th>
                  <td><input type="text" class="input-text" ajaxurl='{:U('Config/config_check',array('id'=>$id))}' datatype="*" name="title" value="{$title}"  >
                    <span class="gray" style="color:#9F9F9F"> &nbsp; (用于后台显示的配置标题)</span></td>
                </tr>
        
                
            
       
              <!--下拉框-->
                <tr>
                  <th width="140"> 配置类型:</th>
                  <td><select name="type"  class="select-box">
                      <volist name="config_type" id="vo">
                      <option value="{$key}" <if condition="$type eq $key">selected </if> >{$vo}</option>
                    </volist>
                    </select>
                    <span class="gray" style="color:#9F9F9F"> &nbsp; (系统会根据不同类型解析配置值)</span></td>
                </tr>
       
           <!--下拉框-->
                <tr>
                  <th width="140"> 配置分组:</th>
                  <td><select name="group"  class="select-box">
                  <volist name="groups" id="vo">
                      <option value="{$key}" <if condition="$group eq $key">selected </if> >{$vo}</option>
                    </volist>
                    </select>
                    <span class="gray" style="color:#9F9F9F"> &nbsp; (配置分组 用于批量设置 不分组则不会显示在系统设置中)</span></td>
                </tr>
                
                <!--字符-->
                <tr> 
                  <th width="140">配置标识</th>
                  <td><input type="text" class="input-text" datatype="/[A-Za-z]/i" ajaxurl='{:U('Config/config_check',array('id'=>$id))}' name="name" value="{$name}"  >
                    <span class="gray" style="color:#9F9F9F"> &nbsp; (用于C函数调用,只能使用英文且不能重复)</span></td>
                </tr>
                
                <!--文本-->
                <tr>
                  <th width="140">配置值</th>
                  <td><textarea name="value" class="textarea" style="width:380px; height:150px;">{$value}</textarea>
                  <span class="gray" style="color:#9F9F9F"> &nbsp; (配置值)</span>
                    </td>
                </tr>
       
                <!--文本-->
                <tr>
                  <th width="140">说明</th>
                  <td><textarea name="remark" class="textarea" style="width:380px; height:150px;">{$remark}</textarea>
                  <span class="gray" style="color:#9F9F9F"> &nbsp; (配置详细说明)</span>
                    </td>
                </tr>
                            <tr>
                  <th width="140"> 状态:</th>
                  <td><select name="status"  class="select-box">
                  
                      <option value="1" <if condition="$status eq 1">selected </if> >启用</option>
                       <option value="0" <if condition="$status eq '0'">selected </if> >禁用</option>
                 
                    </select>
                    <span class="gray" style="color:#9F9F9F"> &nbsp; (配置分组 用于批量设置 不分组则不会显示在系统设置中)</span></td>
                </tr>
         	 <tr>
                  <th width="140">排序</th>
                  <td><input type="text" class="input-text" name="sort" value="{$sort}"  style="width:100px;">
                    <span class="gray" style="color:#9F9F9F"> &nbsp; (用于分组显示的顺序)</span></td>
                </tr>
       
          
          </tbody>
        </table>
                      <div style=" margin-top:20px;">
         <button type="submit" class="btn btn-success radius">提交信息</button>
        
          </div>
      </form>
    </div>
  </div>
</div>
 
<script type="text/javascript">
$(function(){
   
	$(".J_ajaxForm").Validform({
		tiptype:3,
 		
	});
	
$(".h_a").html($(".menu_4 a[class='active']").html()) ;
 
 
})
</script>
 <include file="Common/foot" /> 
</body>
</html>